package my.lotu.bean;

/**
 * Plan entity. @author MyEclipse Persistence Tools
 */

public class Plan implements java.io.Serializable {

	// Fields

	private Integer id;
	private Double cost;
	private Double calorie;
	private String dayMealId;
	private Integer day;

	// Constructors

	/** default constructor */
	public Plan() {
	}

	/** minimal constructor */
	public Plan(Double cost, String dayMealId, Integer day) {
		this.cost = cost;
		this.dayMealId = dayMealId;
		this.day = day;
	}

	@Override 
	public String toString(){
		return "Plan{id="+id+",cost="+cost+",day="+day+",dayMealId="+dayMealId+"}";
	}
	/** full constructor */
	public Plan(Double cost, Double calorie, String dayMealId, Integer day) {
		this.cost = cost;
		this.calorie = calorie;
		this.dayMealId = dayMealId;
		this.day = day;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Double getCost() {
		return this.cost;
	}

	public void setCost(Double cost) {
		this.cost = cost;
	}

	public Double getCalorie() {
		return this.calorie;
	}

	public void setCalorie(Double calorie) {
		this.calorie = calorie;
	}

	public String getDayMealId() {
		return this.dayMealId;
	}

	public void setDayMealId(String dayMealId) {
		this.dayMealId = dayMealId;
	}

	public Integer getDay() {
		return this.day;
	}

	public void setDay(Integer day) {
		this.day = day;
	}

}